package com.youlai.boot.modules.exhibition.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDateTime;
import java.math.BigDecimal;

@Schema(description = "展会表单对象")
@Data
public class ExhibitionForm {
    private Long id;

    @NotBlank(message = "展会名称不能为空")
    private String name;

    @NotBlank(message = "封面图片不能为空")
    private String coverPic;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;
    private String location;
    private String description;
    private Integer status;
    private Integer sort;
    private BigDecimal specialArea;
    private Integer specialBoothCount;
    private BigDecimal standardArea;
    private Integer standardBoothCount;
    private BigDecimal usedSpecialArea;
    private Integer usedSpecialBoothCount;
    private BigDecimal usedStandardArea;
    private Integer usedStandardBoothCount;
    private String organizer;
    private String contactPerson;
    private String contactPhone;
}